<?php

namespace app\admin\controller;

use app\common\controller\Backend;

/**
 * 品系
 *
 * @icon fa fa-circle-o
 */
class Pinxi extends Backend
{

    /**
     * Pinxi模型对象
     * @var \app\admin\model\Pinxi
     */
    protected $model = null;

    // Selectpage可显示的字段
    protected $selectpageFields = ['id','daici','name','merge_name'];


    public function _initialize()
    {
        parent::_initialize();
        $this->model = new \app\admin\model\Pinxi;

    }

    //   Selectpage可显示的字段      @demo
    //  protected $selectpageFields = ['id','daici','name'];
//<input id="c-teachers" data-rule="required" data-source="user/user/index" data-primary-key="id" data-field="nickname" data-params='{"custom[type]":"20"}' data-format-item="<img class='img-sm img-center img-circle' src='{avatar}'> {nickname} - {mobile}" data-multiple="true" class="form-control selectpage" name="row[teachers]" type="text" value="">



}
